import React from 'react';
import { Link } from 'react-router-dom';

const Header = () => {
  return (
    <div className='Header-warp'>
        <div className='Header'>
            <Link to="/" className='Header-item'>React</Link>
            <Link to="/doc" className='Header-item'>文档</Link>
            <Link to="/blog" className='Header-item'>博客</Link>
        </div>
    </div>
  )
}

export default Header